package com.example.flashsales.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * 店家的流水纪录视图对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StoreCostRecordVo {
    //id
    private long id;
    //发生时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private java.sql.Timestamp time;
    //金额
    private double money;
    //商家id
    private long storeId;
    //剩余余额
    private double sMoney;
    //用途 0 提现 1 拉人 2取货
    private int state;
    //用途
    private String sState;




}
